package com.yf1706.bean;

import java.sql.ResultSet;
import java.sql.SQLException;

import com.yf1706.comm.RowMapper;

public class zhangwuRowMapper implements RowMapper<zhangwubean>{

	@Override
	public zhangwubean mapper(ResultSet rs) throws SQLException {
		zhangwubean zhangwu=new zhangwubean();
		zhangwu.setZsprice(rs.getDouble("zsprice"));
		zhangwu.setZexpend(rs.getDouble("zexpend"));
		zhangwu.setZprofit(rs.getDouble("zprofit"));
		return zhangwu;
	}

}
